import { BaseEntity } from "./BaseEntity";

export interface User extends BaseEntity {
    userId?: string;
    password?: string;
    tenantId?: string;
    nickname?: string;
    username?: string;
    gender?:string;
    status?: string;
    phone?: string;
    email?: string;
    remark?: string;
    defaultRole?: string;
    registerType?: string;
    avatar?: string;
    
}
export interface UserDTO extends User {
    tenantName?: string;
    taskIdList?: string[];
    noticeIdList?: string[];
    projectIdMap?: {
        [key: string]: string[]; // key 是 projectId，value 是角色id的数组
      };

    /**
     * 权限字符串集合
     */
    authorityStrings?: string[]
}
